Optimal. Leaf size=45 \[ \frac {x^{n+2} (a+b x)^{-n} \left (\frac {b x}{a}+1\right )^n \, _2F_1\left (n,n+2;n+3;-\frac {b x}{a}\right )}{n+2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {66, 64} \[ \frac {x^{n+2} (a+b x)^{-n} \left (\frac {b x}{a}+1\right )^n \, _2F_1\left (n,n+2;n+3;-\frac {b x}{a}\right )}{n+2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 64
Rule 66
Rubi steps
\begin {align*} \int x^{1+n} (a+b x)^{-n} \, dx &=\left ((a+b x)^{-n} \left (1+\frac {b x}{a}\right )^n\right ) \int x^{1+n} \left (1+\frac {b x}{a}\right )^{-n} \, dx\\ &=\frac {x^{2+n} (a+b x)^{-n} \left (1+\frac {b x}{a}\right )^n \, _2F_1\left (n,2+n;3+n;-\frac {b x}{a}\right )}{2+n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 45, normalized size = 1.00 \[ \frac {x^{n+2} (a+b x)^{-n} \left (\frac {b x}{a}+1\right )^n \, _2F_1\left (n,n+2;n+3;-\frac {b x}{a}\right )}{n+2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.45, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {x^{n + 1}}{{\left (b x + a\right )}^{n}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{n + 1}}{{\left (b x + a\right )}^{n}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.06, size = 0, normalized size = 0.00 \[ \int x^{n +1} \left (b x +a \right )^{-n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{n + 1}}{{\left (b x + a\right )}^{n}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {x^{n+1}}{{\left (a+b\,x\right )}^n} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________